Skip to content

[codex] Update clinical guide for Node 24#78

Merged
BigSimmo merged 49 commits into
mainfrom
copilot/simplify-operational-tooling
Jun 27, 2026
Merged

[codex] Update clinical guide for Node 24#78
BigSimmo merged 49 commits into
mainfrom
copilot/simplify-operational-tooling

Conversation

@BigSimmo

Copy link
Copy Markdown
Owner

Summary

  • Move the project runtime gates and local server checks to Node 24 / npm 11.
  • Continue the Clinical Guide UI polish across document search, source/evidence surfaces, profile layout, and mockup references.
  • Add runtime verification coverage, edge-function check wiring, and Supabase migration reconciliation notes.

Validation

  • node -v -> v24.15.0
  • npm -v -> 11.12.1
  • node scripts/check-node-engine.cjs passed
  • git diff --cached --check passed before commit

Known local verification blocker

npm run verify:cheap could not be completed locally because npm install/ci repeatedly hit Windows extraction errors and left an incomplete generated node_modules tree. The committed source/config changes are pushed; CI should install from a clean runner using the updated Node 24 workflow.

@BigSimmo
BigSimmo marked this pull request as ready for review June 27, 2026 08:01
Copilot AI review requested due to automatic review settings June 27, 2026 08:01
@BigSimmo
BigSimmo force-pushed the copilot/simplify-operational-tooling branch from 87d40b1 to 9d22f89 Compare June 27, 2026 08:06

This comment was marked as resolved.

Copilot AI review requested due to automatic review settings June 27, 2026 08:06

This comment was marked as resolved.

@BigSimmo
BigSimmo enabled auto-merge (squash) June 27, 2026 08:12
chatgpt-codex-connector[bot]

This comment was marked as resolved.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 27, 2026 08:19
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 29 out of 31 changed files in this pull request and generated 2 comments.

Comment thread package.json Outdated

Copilot AI commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

@copilot what comments are not fixed? i thought i fixed most. Marked all fixed ones

You’re right — I don’t see any currently unfixed Copilot review items in code.

The remaining open threads look stale (left open after follow-up commits), including:

  • package.json Next/@next-env alignment
  • Deno docs/CI setup threads
  • /home profile placeholder identity threads
  • production-readiness runtime-version doc thread
  • DocumentViewer unused DocumentBadge import

All of those are now addressed in the current branch state; they likely just need to be manually marked resolved in the PR UI.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 31 out of 33 changed files in this pull request and generated no new comments.

Comments suppressed due to low confidence (2)

tests/ui-smoke.spec.ts:56

  • The newly added legacyDocumentsMode.isVisible().catch(() => false) guard duplicates the existing isVisibleWithoutThrow check and introduces an unmatched {, which will cause a syntax/typecheck failure in this test file.
    tests/ui-smoke.spec.ts:73
  • This await expect(async () => { ... }) block is missing its closing }).toPass(...) before the next const appModeMenu = ... redeclaration, which breaks the function structure and will fail TypeScript compilation. It also leaves two competing implementations of the app-mode menu flow in the same function.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 31 out of 33 changed files in this pull request and generated 3 comments.

Comment thread scripts/check-edge-functions.mjs Outdated
Comment thread package.json Outdated
Comment thread package.json Outdated
BigSimmo and others added 3 commits June 27, 2026 18:17
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Restore @supabase/supabase-js to ^2.108.2, openai to ^6.45.0, and
postgres to 3.4.9. These were accidentally downgraded from the versions
present in main during the Node 24/npm 11 lockfile refresh.
Regenerate package-lock.json with the correct resolved versions.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 31 out of 33 changed files in this pull request and generated no new comments.

Comments suppressed due to low confidence (1)

package.json:83

  • This PR downgrades several direct dependencies (e.g. @supabase/supabase-js 2.108.2 -> 2.107.0 and openai 6.45.0 -> 6.42.0). Because the PR description focuses on moving runtime gates to Node 24 / npm 11 and UI polish, these version rollbacks look potentially accidental or at least need an explicit rationale (and ideally a link to the incompatibility / regression that required them). If the downgrades are intentional, please document why; otherwise revert them and regenerate the lockfile to keep the PR scoped to the runtime/doc/UI changes.
    "@next/env": "16.2.9",
    "@supabase/supabase-js": "^2.108.2",
    "exceljs": "^4.4.0",
    "jszip": "^3.10.1",
    "lucide-react": "^1.21.0",
    "mammoth": "^1.12.0",
    "next": "16.2.9",
    "openai": "^6.45.0",

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 31 out of 33 changed files in this pull request and generated 3 comments.

Comments suppressed due to low confidence (1)

vitest.config.mts:17

  • new URL("./src", import.meta.url).pathname can produce non-portable paths (notably on Windows, where it yields /C:/... and uses forward slashes). Since this repo already uses fileURLToPath elsewhere, prefer that here so Vitest/Vite alias resolution is cross-platform.

Comment thread scripts/check-edge-functions.mjs
Comment thread src/components/clinical-dashboard/document-ui.tsx
Comment thread src/components/clinical-dashboard/master-search-header.tsx Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1f2ccd5656

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/app/home/page.tsx
Comment thread src/components/clinical-dashboard/document-search-results.tsx
Comment thread src/components/clinical-dashboard/document-search-results.tsx
Comment thread src/components/DocumentViewer.tsx
Comment thread src/components/DocumentViewer.tsx

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 31 out of 33 changed files in this pull request and generated no new comments.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 31 out of 33 changed files in this pull request and generated 1 comment.

Comment thread tests/ui-stress.spec.ts Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 31 out of 33 changed files in this pull request and generated 1 comment.

Comment thread src/components/clinical-dashboard/document-ui.tsx
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

This comment was marked as resolved.

chatgpt-codex-connector[bot]

This comment was marked as resolved.

…ling' into copilot/simplify-operational-tooling

# Conflicts:
#	tests/ui-smoke.spec.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants